/**
 * Created by Administrator on 2015/12/27 0027.
 */
object Extends_test {

}

class month {
  val one = 25 //可以在子类中重写
  var two = 15  //不可以在子类中重写 因为不是抽象的

  var three:Int=0

  def firstday = {

  }

  def secondday: Unit = {

  }
}

class week extends month {
  //  override  val secondday=0
  override def secondday = {

  }
}

abstract class  year{
  val name:Array[String]
  var num:Int
  def sign
}

